<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ "/dir/";
%>
<c:set var="bp" value="<%=basePath%>"></c:set>
<!DOCTYPE>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<c:import url="hcommon.jsp"></c:import>
	<c:import url="header.jsp"></c:import>
	<c:import url="left.jsp"></c:import>
    <title>商家详情</title>
</head>
<body>
<div style="margin-top: 68px ;margin-left: 240px">
   <form >
			<table class="table table-hover">
				<tr>
					<th>门店编号</th>
					<th>门店名称</th>
					<th>门店地址</th>
					<th>门店照片</th>
					<th>营业执照</th>
					<th>营业状态</th>
					<th>审核状态</th>
					<th>红包编号</th>
					<th>红包类型</th>
					<th>门店评分</th>
					<th>营业额</th>
					<th>评价编号</th>
					<th>评价内容</th>
				</tr>

				<tr>
					<td>${list.sid}</td>
					<td>${list.sname}</td>
					<td>${list.saddress}</td>
					<td><IMG src="${bp}${list.picture}" width="60px" height="60px"></td>
					<td><IMG src="${bp}${list.businesslicense}" width="60px" height="60px"></td>
					<td><a href="scondition.action?sid=${list.sid}">${list.scondition}</a></td>
					<td><a href="audit.action?sid=${list.sid}">${list.audit}</a></td>
					<td>${list.rid}</td>
					<td>${list.redpacket.rtype}</td>
					<td>${list.sgrade}</td>
					<td>${list.income}</td>
					<td>${list.eid}</td>
					<td>${list.evaluate.econtex}</td>
				</tr>
			</table>
		</form>
</div>
</body>
</html>